package com.shop.front.request.pink;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel("拼团订单提交请求参数")
@Data
public class UserPinkOrderReq {

    @ApiModelProperty(value = "拼团记录Sign")
    private String storePinkSign;

    @ApiModelProperty(value = "支付方式  13 微信-Sand 12 支付宝-Sand 8 余额  9 TG")
    @NotNull(message = "请选择支付方式")
    private Integer payCode;

    @ApiModelProperty(value = "收货地址")
    @NotBlank(message = "请选择一个收货地址")
    private String userAddressSign;

    @ApiModelProperty(value = "收货地址", hidden = true)
    private Long userAddressId;

    @ApiModelProperty(value = "拼团记录ID", hidden = true)
    private Long storePinkId;

}
